// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index'
import ElementUI from 'element-ui'   
import 'element-ui/lib/theme-chalk/index.css';
import '../static/css/reset.css'        // 引入样式重置,需要将样式放入到static静态目录中才可以使用
import {mixin} from './mixin'


Vue.config.productionTip = false

Vue.use(ElementUI)

Vue.mixin(mixin)






/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  render: (e) => e(App),
  // 全局事件总线
  beforeCreate () {
    Vue.prototype.$bus = this
  }
})
